import Home from '../Page/Home'
import List from '../Page/List'
import My from '../Page/My'
import Chat from '../Page/Chat'
import MainLayout from '../Page/MainLayout'
import { createBrowserRouter } from 'react-router-dom'

export const router = createBrowserRouter([
    {
        path: '/',
        element: <MainLayout />,
        children: [
            {
                path: '/',
                element: <Home />
            },
            {
                path: '/list',
                element: <List />
            },
            {
                path: '/my',
                element: <My />
            },
            {
               path: '/chat',
            }
        ]
    }
])